package com.zmn.oms.dubbo.dto.zmn.channel;

import lombok.Data;

import javax.validation.constraints.NotNull;
import java.io.Serializable;

/**
 * 类描述：渠道对接 - 取消订单参数定义
 *
 * @author xiewenbing
 * @date 2021/03/19 15:00
 */
@Data
public class CancelOrderDIO implements Serializable {

    private static final long serialVersionUID = -7063163767488278506L;

    /**
     * 渠道ID
     */
    private Integer channelId;

    /**
     * 订单ID
     */
    @NotNull(message = "订单ID不能为空")
    private Long orderId;

    /**
     * 渠道取消标识：1:否  2:是
     */
    private Integer channelCancel;

    /**
     * 支付超时取消标识：1:否  2:是
     */
    private Integer payTimeout;

    /**
     * 取消原因
     */
    private String remark;

    /**
     * 订单渠道扩展数据
     */
    private String outerData;

    /**
     * 强制取消，不验证权限 1否 2是
     */
    private Integer agreeCancel;
}
